package com.asset.dao;

import com.asset.pojo.BranchOffice;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by gongshaobo on 2017/2/17  15:35.
 */
@Component
public interface BranchOfficeMapper {
    public void addBranchOffice(BranchOffice branchOffice);
    public BranchOffice getBranchOffice(@Param("id") Integer id);
    public BranchOffice getBranchOfficeNyName(@Param("name") String name);
    public List<BranchOffice> listBranchOffice(String name);
}
